﻿using Microsoft.AspNetCore.Mvc;

namespace YAPACS.RisServer.Interface.Technician
{

    /// <summary>
    /// 呼叫患者
    /// </summary>
    public interface ICall
    {
        /// <summary>
        /// 呼叫下一位
        /// </summary>
        /// <param name="deviceId">设备Id</param>
        /// <param name="examIds">检查Id 数组</param>
        /// <returns></returns>
        [HttpPost]
        public Task<bool> CallNext(string deviceId, string[] examIds);


        /// <summary>
        /// 呼叫具体某一位患者
        /// </summary>
        /// <param name="deviceId">设备Id</param>
        /// <param name="patientId">患者Id</param>
        /// <returns></returns
        [HttpPost]
        public Task<bool> CallPatient(string deviceId,string patientId);
    }
}
